package com.cn.dao.model;

import javax.xml.bind.annotation.XmlTransient;

import com.cn.bean.SimpleBean;
import com.cn.dao.BaseMapper;

/**
 * @author sushy
 * @date 2016-3-23 
 */
public abstract class TableBean extends SimpleBean{

	public String getTableSuffix(long id) {
		return String.valueOf(id % 10);
	}

	@XmlTransient
	public String getTableSuffix() {
		return "";
	}

	public abstract BaseMapper<?> getParamMapper();

}
